Skip to main content

PTP_DOC_008:【削除】特定文書 (※一括削除含む)(患者用)

処理概要

特定患者に文書を削除する。

機能 IDAPI 論理名HTTP メソッドURI
PTP_DOC_008【削除】特定文書 (※一括削除含む)(患者用)DELETE{applicationPath}/participants/patients/documents
連携方式データ形式利用可能な接続先
REST APIJSON 形式(エンコーディング:utf-8)リモート

リクエスト(認証)

No.項目名物理名属性Nullable設定要領
1アクセストークンAuthorizationstring-認証処理で取得した Bearer Token を設定

リクエスト(クエリ)

No.項目名物理名属性Nullable設定要領
-

リクエスト(パスパラメータ)

No.項目名物理名属性Nullable設定要領
-

リクエスト(Body)

No.項目名物理名L1L2L3L4L5L6繰返し属性Nullableリクエスト設定要領
1Bundle の登録対象リストbundleList-object-
2Bundle 構造体--OpenFRUCtoS の Bundle リソースの仕様に準拠する
参考:3.Bundle リソース構造体について

サンプル(リクエスト)

{
  "bundleList":[
    {
      "resourceType": "Bundle",
      "id": "1",
      "meta": {
        "versionId": "1",
        "lastUpdated": "2021-07-12T13:55:48.899+09:00"
      },
      "identifier": {
        "system": "urn:ietf:rfc:3986",
        "value": "urn:uuid:48eb2225-4947-19f4-f59f-0b048ebae42e"
      },
      "type": "document",
      "timestamp": "2021-03-01T09:00:00+09:00",
      "entry": [
        {
          "fullUrl": "urn:uuid:cb6a36fb-f7ce-ddb7-40d2-e918d90149f7",
          "resource": {
            "resourceType": "Composition",
            "id": "urn:uuid:24ada691-1828-4ff9-9694-9705e0ffbbe7",
            "text": {
              "status": "generated",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">処方箋サンプル</div>"
            },
            "identifier": {
              "system": "urn:oid:1.2.392.100495.20.3.11",
              "value": "11310000001000001000001"
            },
            "status": "preliminary",
            "type": {
              "coding": [
                {
                  "system": "urn:oid:1.2.392.100495.20.2.11",
                  "code": "01",
                  "display": "保険医療記録"
                }
              ]
            },
            "subject": {
              "reference": "urn:uuid:75563685-6d0b-4c88-a735-50ff64507414",
              "display": "サンプル患者 1"
            },
            "date": "2021-03-01T09:00:00+09:00",
            "author": [
              {
                "reference": "urn:uuid:738ba3db-e282-4fce-b66d-9e054c7a1987",
                "display": "サンプル医師 A1"
              },
              {
                "reference": "urn:uuid:4081daf3-d25d-42ce-9ff9-815d749b0e19",
                "display": "サンプル A 病院"
              }
            ],
            "title": "処方箋サンプル*患者 1_A 病院*医師 A1",
            "event": [
              {
                "code": [
                  {
                    "text": "処方箋交付"
                  }
                ],
                "period": {
                  "start": "2021-09-29",
                  "end": "2021-09-29"
                }
              }
            ],
            "section": [
              {
                "title": "処方指示 BODY",
                "entry": [
                  {
                    "reference": "urn:uuid:1a1fcd84-ba4c-456d-baf3-e3198e7c40fa"
                  }
                ]
              }
            ]
          }
        },
・・・省略・・・
      }
    }
  ]
}

レスポンス

No.項目名物理名L1L2L3L4L5L6繰返し属性Nullableレスポンス設定要領
1Bundle の登録結果リストbundleResultListarray-
2医療機関 IDorganizationId-string-
3状態status-string-success:正常
4診断内容diagnostics-string
5IDid-string-Bundle ID
6文書キーdocumentKey-string-
エラー条件
システムエラー
・API 共通仕様に準拠
業務エラー
・なし

サンプル(レスポンス)

正常終了
{
"bundleResultList": [
{
"organizationId": "1310000001",
"status": "success",
"diagnostics": "",
"id": "30",
"documentKey": "urn:uuid:48eb2225-4947-19f4-f59f-0b048ebae42e"
}
]
}
異常終了
{
"errorCode": "PLAT500"
}

備考

なし